#include<gtest/gtest.h>
#include <iostream>

int func(int a,int b)
{
    if(b==0)
    {
        return false;
    }
    return a/b;
}

TEST(nomral_test,test1)
{
    ASSERT_EQ(func(2,2),1);
    ASSERT_EQ(func(2,3),0);
    
}

TEST(nomral_test,test2)
{
    ASSERT_NE(func(3,2),1.5);
    ASSERT_LT(func(2,3),1);
}
TEST(unnormal_test,test2)
{
    ASSERT_FALSE(func(2,0));
}

int main(int argc,char *argv[])
{

    testing::InitGoogleTest(&argc,argv);
    RUN_ALL_TESTS();
    return 0;
}